package com.gsj.service.company;

import com.github.pagehelper.PageInfo;
import com.gsj.domain.company.Company;

import java.util.List;

public interface CompanyService {


    /**
     * 分页查询
     * @param pageNum 当前页
     * @param pageSize 页面显示数量
     *
     * */
    PageInfo<Company> findByPage(int pageNum, int pageSize);

    List<Company> findAll();

    void save(Company company);

    void update(Company company);

    Company findById(String id);

    void delete(String id);
}
